<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>03-第三题</title>
</head>
<body>
<script>
    function three_max(num1, num2, num3){
        if (num1>=num2) {
            num = num1 //使用num保存num1的值
        }
        else {
            num = num2
        }
        if (num > num3) {
            result = num
        }
        else {
            result = num3
        }
        console.log(result)
    }
    three_max(5,4,3)
</script>
</body>
</html>